 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ace="http://www.icefaces.org/icefaces/components" 
      xmlns:ice="http://www.icesoft.com/icefaces/component">
      
     
      		<h:panelGroup layout="block" class="logo">
				 <h:graphicImage library="images" name="logo.png"/>
			</h:panelGroup>
			
			 <h:panelGroup layout="block" class="bannerText">
			 <!-- FACT ENTRY -->
			 </h:panelGroup>
      
      <h:panelGroup layout="block" class="loginInfo" rendered="#{loginBean.loginStatus != userHome}">
             <h:commandLink action="userHome.jsf" style="color:white;" immediate="true">
				<h:outputText value="Home" escape="false"/>
			  </h:commandLink>
			  |
			 Logged in as <h:outputText value="#{loginBean.userBean.userName}" escape="false"/> <b>| </b>  
			 
			  <h:commandLink action="#{logoutBean.logout}" style="color:white;" immediate="true">
				<h:outputText value="Logout" escape="false"/>
			  </h:commandLink>	
			  <br/>
			  <div style="clear: both;float: right;">
			  Role : <h:outputText value="#{loginBean.userBean.userType}" escape="false"/> 
			  </div>				  	
	  </h:panelGroup>
	  
	  

	  <h:panelGroup layout="block" class="loginInfo" rendered="#{loginBean.loginStatus == userHome}" immediate="true">	  		  
			  <h:commandLink action="signIn.jsf" style="color:white;">
				<h:outputText value="Sign In" escape="false"/>
			  </h:commandLink>
			  |
			  <h:commandLink action="signUp.jsf" style="color:white;" immediate="true">
				<h:outputText value="Sign Up" escape="false" />
			  </h:commandLink>		 
	  </h:panelGroup>
      
</html>
